package cn.wind.xboot.logic.app.service.impl;

import cn.wind.xboot.logic.app.dao.AppFeedbackMapper;
import cn.wind.xboot.logic.app.entity.AppFeedback;
import cn.wind.xboot.logic.app.service.IAppFeedbackService;
import cn.wind.xboot.logic.dto.FeedBackDto;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * <p>
 * app应用-反馈 服务实现类
 * </p>
 *
 * @author xukk
 * @since 2018-08-20
 */
@Service
public class AppFeedbackServiceImpl extends ServiceImpl<AppFeedbackMapper, AppFeedback> implements IAppFeedbackService {

    @Override
    public IPage<FeedBackDto> findByCondition(IPage page, Map<String, Object> map) {
        return page.setRecords(this.baseMapper.findByCondition(page,map));
    }
}
